<HTML>
	<TITLE>Workflow.NET
		<%#actionname%>
		-<%#propertyname%></TITLE>
	<STYLE><%#stylesheet%>
	</STYLE>
	<BODY marginheight="0" marginwidth="0" topmargin="0" leftmargin="0">
		<form name="wf_theform" method="post" ID="Form1">
			<TABLE width="<%#width%>" height="<%#height%>" bgcolor="<%#bgcolor%>" cellspacing="0" cellpadding="0" border="0" ID="Table1">
				<TR>
					<TD valign="top">
						<TABLE ID="Table2">
							<TR>
								<TD valign="top">
									<IFRAME name="frame_multipleoptions" src="<%#requeststring%>&amp;pagesection=multipleoption&amp;_mode=#_mode#&amp;_pageinfo=#_pageinfo#&amp;_wizardsessionid=#_wizardsessionid#" STYLE="WIDTH:490px;HEIGHT:250px">
									</IFRAME>
								</TD>
							</TR>
						</TABLE>
					</TD>
				</TR>
				<TR>
					<TD height="1" bgcolor="black"><IMG src="?drawimage=spacer.gif" height="1" width="1"></TD>
				</TR>
				<TR>
					<TD height="1" bgcolor="white"><IMG src="?drawimage=spacer.gif" height="1" width="1"></TD>
				</TR>
				<TR>
					<TD align="center">
						<TABLE bgcolor="white" ID="Table3">
							<TR>
								<TD colspan="2">
									<B>Legends</B>
								</TD>
							</TR>
							<TR>
								<TD>
									<font color="red"><B>!</B></font>
								</TD>
								<TD>
									This question will be the decision maker for this checklist
								</TD>
							</TR>
							<TR>
								<TD>
									<font color="red"><B>*</B></font>
								</TD>
								<TD>
									This question willl be mandatory for this checklist.
								</TD>
							</TR>
							<!--<TR>
								<TD valign="top">
									<font color="blue"><B>&lt;xml&gt;</B></font>
								</TD>
								<TD>
									User inputs on this question will be added to document information that flows
									in the workflow.
								</TD>
							</TR>-->
						</TABLE>
					</TD>
				</TR>
				<TR>
					<TD height="1" bgcolor="black"><IMG src="?drawimage=spacer.gif" height="1" width="1"></TD>
				</TR>
				<TR>
					<TD height="1" bgcolor="white"><IMG src="?drawimage=spacer.gif" height="1" width="1"></TD>
				</TR>
				<TR>
					<TD align="right" height="30" width="100%">
						<input type="button" class="buttons" value="Back" name="btnback" id="btnback" onclick="window.history.back();">
						<input type="button" class="buttons" value="Finish" name="btnnext" id="btnnext" onclick="nextstep('addnew','page3','')">&nbsp;&nbsp;
						<input type="button" class="buttons" value="Cancel" ID="btnCancel" onclick="window.close();"
							NAME="btnCancel">
					</TD>
				</TR>
			</TABLE>
			<input type="hidden" name="_hidtempstore" id="_hidtempstore"> <input type="hidden" name="_mode" ID="_mode">
			<input type="hidden" name="_pageinfo" id="_pageinfo"> <input type="hidden" name="_wizardsessionid" id="_wizardsessionid" value="#_wizardsessionid#">
		</form>
		<SCRIPT>
	function nextstep(mode,pageinfo,tempstore)
	{
		document.wf_theform._mode.value=mode;
		tempstore += getframeinputs()
		document.wf_theform._pageinfo.value = pageinfo
		document.wf_theform._hidtempstore.value=tempstore;
		document.wf_theform.submit()
	}

	function getframeinputs()
	{
		var i=0;
		var returnvalue="";
		var obj = eval("frame_multipleoptions");
		var tempobj;
		var d = obj.document
		var optioncount = d.wf_theform.optioncount.value
		var arroptioncount=optioncount.split("#");
		if (arroptioncount.length > 0)
		{
			for ( i = 0 ;i<arroptioncount.length;i++)
			{
				tempobj = eval("d.wf_theform.questionname" + i )
				returnvalue += "#" + tempobj.value;
				tempobj = eval("d.wf_theform.defaultvalue_" + i )
				returnvalue += ";" + tempobj.value;
				//alert(tempobj.value)
				for(j=0;j<arroptioncount[i];j++)
				{
					tempobj = eval("d.wf_theform.option_" + i + "_" + j)
					returnvalue += ";" + tempobj.value;
					tempobj = eval("d.wf_theform.value_" + i + "_" + j)
					returnvalue += ";" + tempobj.value;
				}
			}
		}
		returnvalue = returnvalue.substring(1,returnvalue.length)
		return returnvalue;
	}


		</SCRIPT>
	</BODY>
</HTML>
